# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'appGui.ui'
#
# Created: Sat Dec 26 15:14:16 2009
#      by: PyQt4 UI code generator 4.6.2
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_moodleed(object):
    def setupUi(self, moodleed):
        moodleed.setObjectName("moodleed")
        moodleed.resize(620, 420)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Preferred, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(moodleed.sizePolicy().hasHeightForWidth())
        moodleed.setSizePolicy(sizePolicy)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(":/icons/appIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        moodleed.setWindowIcon(icon)
        self.centralwidget = QtGui.QWidget(moodleed)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.questionSelector = QtGui.QCheckBox(self.centralwidget)
        self.questionSelector.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.questionSelector.sizePolicy().hasHeightForWidth())
        self.questionSelector.setSizePolicy(sizePolicy)
        self.questionSelector.setObjectName("questionSelector")
        self.horizontalLayout.addWidget(self.questionSelector)
        self.questionComboBox = QtGui.QComboBox(self.centralwidget)
        self.questionComboBox.setEnabled(False)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.MinimumExpanding, QtGui.QSizePolicy.Minimum)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.questionComboBox.sizePolicy().hasHeightForWidth())
        self.questionComboBox.setSizePolicy(sizePolicy)
        self.questionComboBox.setObjectName("questionComboBox")
        self.horizontalLayout.addWidget(self.questionComboBox)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.questions = QtGui.QStackedWidget(self.centralwidget)
        self.questions.setEnabled(True)
        self.questions.setFrameShape(QtGui.QFrame.NoFrame)
        self.questions.setFrameShadow(QtGui.QFrame.Plain)
        self.questions.setObjectName("questions")
#        self.page = QtGui.QWidget()
#        self.page.setObjectName("page")
#        self.questions.addWidget(self.page)
        self.verticalLayout.addWidget(self.questions)
        moodleed.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(moodleed)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 620, 28))
        self.menubar.setObjectName("menubar")
        self.menuFile = QtGui.QMenu(self.menubar)
        self.menuFile.setObjectName("menuFile")
        self.menuQuestion = QtGui.QMenu(self.menubar)
        self.menuQuestion.setObjectName("menuQuestion")
        self.menuHelp = QtGui.QMenu(self.menubar)
        self.menuHelp.setObjectName("menuHelp")
        moodleed.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(moodleed)
        self.statusbar.setSizeGripEnabled(False)
        self.statusbar.setObjectName("statusbar")
        moodleed.setStatusBar(self.statusbar)
        self.actionSave = QtGui.QAction(moodleed)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(":/icons/saveIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave.setIcon(icon1)
        self.actionSave.setObjectName("actionSave")
        self.actionOpen_file = QtGui.QAction(moodleed)
        icon2 = QtGui.QIcon()
        icon2.addPixmap(QtGui.QPixmap(":/icons/openFileIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionOpen_file.setIcon(icon2)
        self.actionOpen_file.setObjectName("actionOpen_file")
        self.actionExit = QtGui.QAction(moodleed)
        icon3 = QtGui.QIcon()
        icon3.addPixmap(QtGui.QPixmap(":/icons/appExitIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionExit.setIcon(icon3)
        self.actionExit.setObjectName("actionExit")
        self.actionAdd_question = QtGui.QAction(moodleed)
        icon4 = QtGui.QIcon()
        icon4.addPixmap(QtGui.QPixmap(":/icons/questionAddIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAdd_question.setIcon(icon4)
        self.actionAdd_question.setObjectName("actionAdd_question")
        self.actionDelete_question = QtGui.QAction(moodleed)
        icon5 = QtGui.QIcon()
        icon5.addPixmap(QtGui.QPixmap(":/icons/questionDelIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDelete_question.setIcon(icon5)
        self.actionDelete_question.setObjectName("actionDelete_question")
        self.actionDelete_selected = QtGui.QAction(moodleed)
        self.actionDelete_selected.setObjectName("actionDelete_selected")
        self.actionDelete_all = QtGui.QAction(moodleed)
        icon6 = QtGui.QIcon()
        icon6.addPixmap(QtGui.QPixmap(":/icons/deleteAllIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionDelete_all.setIcon(icon6)
        self.actionDelete_all.setObjectName("actionDelete_all")
        self.actionSave_as = QtGui.QAction(moodleed)
        icon7 = QtGui.QIcon()
        icon7.addPixmap(QtGui.QPixmap(":/icons/saveAsIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionSave_as.setIcon(icon7)
        self.actionSave_as.setObjectName("actionSave_as")
        self.actionAbout_app = QtGui.QAction(moodleed)
        icon8 = QtGui.QIcon()
        icon8.addPixmap(QtGui.QPixmap(":/icons/aboutIcon"), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.actionAbout_app.setIcon(icon8)
        self.actionAbout_app.setObjectName("actionAbout_app")
        self.menuFile.addAction(self.actionOpen_file)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionSave)
        self.menuFile.addAction(self.actionSave_as)
        self.menuFile.addSeparator()
        self.menuFile.addAction(self.actionExit)
        self.menuQuestion.addAction(self.actionAdd_question)
        self.menuQuestion.addAction(self.actionDelete_question)
        self.menuQuestion.addSeparator()
        self.menuQuestion.addAction(self.actionDelete_selected)
        self.menuQuestion.addAction(self.actionDelete_all)
        self.menuHelp.addAction(self.actionAbout_app)
        self.menubar.addAction(self.menuFile.menuAction())
        self.menubar.addAction(self.menuQuestion.menuAction())
        self.menubar.addAction(self.menuHelp.menuAction())

        self.retranslateUi(moodleed)
        self.questionComboBox.setCurrentIndex(-1)
        QtCore.QObject.connect(self.questionComboBox, QtCore.SIGNAL("activated(int)"), self.questions.setCurrentIndex)
        QtCore.QObject.connect(self.actionExit, QtCore.SIGNAL("triggered()"), moodleed.close)
        QtCore.QObject.connect(self.questions, QtCore.SIGNAL("currentChanged(int)"), self.questionComboBox.setCurrentIndex)
        QtCore.QObject.connect(self.questions, QtCore.SIGNAL("currentChanged(int)"), moodleed._questionWidgetChanged)
        QtCore.QObject.connect(self.actionAdd_question, QtCore.SIGNAL("triggered()"), moodleed.newQuestionDialog)
        QtCore.QObject.connect(self.questionSelector, QtCore.SIGNAL("stateChanged(int)"), moodleed._questionSelectorChanged)
        QtCore.QMetaObject.connectSlotsByName(moodleed)

    def retranslateUi(self, moodleed):
        moodleed.setWindowTitle(QtGui.QApplication.translate("moodleed", "MoodleEd", None, QtGui.QApplication.UnicodeUTF8))
        self.questionSelector.setToolTip(QtGui.QApplication.translate("moodleed", "mark question for delete", None, QtGui.QApplication.UnicodeUTF8))
        self.menuFile.setTitle(QtGui.QApplication.translate("moodleed", "File", None, QtGui.QApplication.UnicodeUTF8))
        self.menuQuestion.setTitle(QtGui.QApplication.translate("moodleed", "Question", None, QtGui.QApplication.UnicodeUTF8))
        self.menuHelp.setTitle(QtGui.QApplication.translate("moodleed", "Help", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave.setText(QtGui.QApplication.translate("moodleed", "Save", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave.setShortcut(QtGui.QApplication.translate("moodleed", "Ctrl+S", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen_file.setText(QtGui.QApplication.translate("moodleed", "Open file", None, QtGui.QApplication.UnicodeUTF8))
        self.actionOpen_file.setShortcut(QtGui.QApplication.translate("moodleed", "Ctrl+O", None, QtGui.QApplication.UnicodeUTF8))
        self.actionExit.setText(QtGui.QApplication.translate("moodleed", "Exit", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_question.setText(QtGui.QApplication.translate("moodleed", "Add", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDelete_question.setText(QtGui.QApplication.translate("moodleed", "Delete", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDelete_selected.setText(QtGui.QApplication.translate("moodleed", "Delete selected", None, QtGui.QApplication.UnicodeUTF8))
        self.actionDelete_all.setText(QtGui.QApplication.translate("moodleed", "Delete all", None, QtGui.QApplication.UnicodeUTF8))
        self.actionSave_as.setText(QtGui.QApplication.translate("moodleed", "Save as ...", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAbout_app.setText(QtGui.QApplication.translate("moodleed", "About GiftEd", None, QtGui.QApplication.UnicodeUTF8))

import data_rc
